import { createApp } from 'vue'
import App from './App.vue'
import * as d3 from 'd3'

const app = createApp(App);

// 将D3添加到Vue原型上，使其在所有组件中全局可用
app.config.globalProperties.$d3 = d3;

app.mount('#app')
